<?php
include_once("../../DataProvider.php");
if(isset($_GET["id"]))
{
	$id = $_GET["id"];
	$sql = "delete from tbl_games where gameID = $id";
	$result = DataProvider::ExecuteQuery($sql);
	if($result)
	{ ?>
    <script>
	 $("#r<?php echo $id; ?>").hide();
	</script>
		<?php
	}
	else
	{
		echo "error";
		}

}

?>